home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / admin / linuxcon.000 / linuxcon / linuxconf-1.6 / help.files / install.script next >
Text File  |  1996-05-12  |  321b  |  16 lines

  1. #!/bin/sh
  2. if [ $# != 2 ]; then
  3.     echo This utility is intended to be called from the Makefile
  4.     echo install.sh src_sub_dir abs_dest_dir
  5. else
  6.     HELPDIR=$2
  7.     cd $1
  8.     for f in */*.help */*.html
  9.     do
  10.         DIR=`dirname $f`
  11.         echo Installing help file $f
  12.         mkdir -p $HELPDIR/$DIR
  13.         install -m 644 -o bin -g bin $f $HELPDIR/$f
  14.     done
  15. fi
  16.